#!/bin/sh

CORE_PATH="/tmp/cores/"
mkdir -p $CORE_PATH
echo "$CORE_PATH/core-%p" > /proc/sys/kernel/core_pattern 
